The rapid proliferation of e-commerce platforms has largely overlooked the operational challenges faced by small and medium-scale local retailers who lack digital visibility and technical infrastructure. Existing marketplaces prioritise nationwide logistics and aggregate demand, leaving neighbourhoodvendorsunabletocompeteforproximity-aware buyers who prefer local sourcing. This paper presents LocalCart Connect, a full-stack hyperlocal marketplace developed on the MERN stack (MongoDB, Express.js, React, Node.js) with JWT-based role-separated authentication and MongoDB geospatial indexing for location-aware product discovery.Thesystemsupportsthreeuserroles—buyer,seller, and administrator—each with dedicated workflow interfaces. Sellers publish product listings with real-time inventory management; buyers discover nearby vendors through geospatial filtering and complete purchases through a structured cart-and-checkout flow; administrators manage platformintegritythroughacontroldashboard.Theplatformis deployed on Vercel and tested against 200 simulated concurrent sessions, achieving sub-300 ms API response latency across all core endpoints and 99.2% service availability.Comparativeanalysisagainstexistingmarketplace solutions confirms that LocalCart Connect uniquely combines hyper-localfocus,zerocommissionstructure,structuredseller profiles, and real-time stock visibility in a single deployable open-source system.
Introduction
The document proposes LocalCart Connect, a hyperlocal e-commerce platform designed to address the gap between large-scale online marketplaces and local neighborhood vendors. Traditional platforms like Amazon and Flipkart are optimized for national-level logistics and fail to support nearby, instant, community-based purchasing, leaving small retailers digitally underserved.
The system enables local sellers to register, list products, manage inventory, and handle orders, while buyers can discover items using geospatial (proximity-based) search, add products to a cart, and complete purchases through a structured workflow. It uses a MERN stack (React, Node/Express, MongoDB) with JWT-based role authentication for buyers, sellers, and admins. MongoDB’s 2dsphere indexing enables fast location-based product discovery, while stock updates are handled atomically to avoid overselling.
Performance testing with 200 concurrent users shows that all modules maintain sub-500 ms latency, with geospatial search (~200 ms) and authentication (~80 ms) performing efficiently. Compared to existing platforms, LocalCart Connect uniquely combines hyperlocal discovery, structured seller management, real-time inventory, and zero commission model, making it more suitable for small-scale local commerce.
However, limitations include synthetic testing instead of real user traffic, lack of payment integration (stub only), reliance on seller-entered locations instead of live GPS, absence of rating/review systems, and constraints of free-tier cloud hosting.
Conclusion
This paper presented LocalCart Connect, a full-stack hyperlocalmarketplaceplatformthatbridgesthedigitalaccess gap for small and medium local retailers. The system implements a three-tier MERN stack architecture with MongoDB geospatial indexing for proximity-aware product discovery, JWT-based role-separated authentication, and structured workflows for buyer, seller, and administrator personas.Empiricalevaluationunder200concurrentsimulated users demonstrated sub-300 ms API latency across all core modules and greater than 98.7% service availability.
Comparative analysis confirms that LocalCart Connect uniquely combines hyper-local geospatial discovery, zero commissionstructure,structuredsellermanagement,real-time inventory visibility, and open-source extensibility—a combination not offered by any single existing platform surveyed.
Future work will focus on integrating a payment gateway for end-to-endtransactionprocessing,addingaproductreviewand rating system, implementing real-time WebSocket notifications,extendingthemobileexperiencethroughaReact Native client, and scaling evaluation to larger concurrent user populations on dedicated database infrastructure.
References
[1] M.FowlerandJ.Lewis,\"Microservices:ADefinitionofThis New Architectural Term,\" martinfowler.com, Mar. 2014.
[2] MongoDB,Inc.,\"GeospatialQueries,\"MongoDBManual, 2024. [Online]. Available: https://www.mongodb.com/docs/manual/geospatial-queries/
[3] S. Mitra, R. Paul, andA. Pal, \"Scalable Geospatial Indexing forLocation-BasedCommerceApplications,\"inProc.IEEEInt. Conf.onCloud ComputingandBigDataAnalysis(ICCCBDA), 2022, pp. 118–124.
[4] M.Jones,J.Bradley,andN.Sakimura,\"JSONWebToken (JWT),\" IETF RFC 7519, May 2015.
[5] R.FieldingandJ.Reschke,\"HypertextTransferProtocol (HTTP/1.1): Authentication,\" IETF RFC 7235, Jun. 2014.
[6] K.BharatiandA.Berg,\"Technology Adoption Barriersin SmallBusinessE-Commerce:ASystematicReview,\"J.Small Business Management, vol. 59, no. 4, pp. 1102–1128, 2021.